﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using GuessLAB.UI.Classes;
using GuessLAB.Domain;
using System.Utility;
using System.Utility.UI;

namespace Logistics
{
    public partial class SiteMaster1 : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            //AppUser u = StateManager<AppUser>.GetSessionState(SessionKey.UserInfo);
            //if (u == null)
            //    Response.Redirect(Constant.LoginUrl, false);
            //else
            //    lblUser.Text = u.Name;
            if (HttpContext.Current.User.Identity.IsAuthenticated)
            {
                lblUser.Text = HttpContext.Current.User.Identity.Name;
            }
            
            
        }
    }
}